Calculates the difference between two date values. The result returns the number of days between the two days.
2 つの日付値の差を算出します。結果には、2 つの日付の間の日数が返されます。
DAYS(Date2; Date1)
DAYS(日付 2; 日付 1)
Date1 is the start date, Date2 is the end date. If Date2 is an earlier date than Date1 the result is a negative number.
日付 1 は開始日で、日付 2 は終了日です。日付 2 が 日付 1 より前の場合、結果は負の数になります。
=DAYS("2010-01-01"; NOW()) returns the number of days from today until January 1, 2010.
=DAYS("2010-01-01"; NOW()) は、今日から 2010 年 1 月 1 日までの日数を返します。
=DAYS("1990-10-10";"1980-10-10") returns 3652 days.
=DAYS("1990-10-10";"1980-10-10") は、3652 日を返します。